Added __repr__ implementation, initialise last_login_method to None, and
authorEwan Mellor <ewan@xensource.com>
Thu, 28 Dec 2006 15:28:45 +0000 (15:28 +0000)
committerEwan Mellor <ewan@xensource.com>
Thu, 28 Dec 2006 15:28:45 +0000 (15:28 +0000)
commitb1da15c72bfed186c0aa3f981410c019885f0c05
treea4637a7a46291ed3dd996157e3217968107c14cb
parent9d26922025825482767c310d7d881edc58f256d0
Added __repr__ implementation, initialise last_login_method to None, and
use gettext's ugettext explicitly, rather than using gettext.install.  These
things together improve the error messages that you get when using this
module incorrectly in the interactive interpreter.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xm/XenAPI.py